<template>
  <div class="settings">
    <headers heatle="设置"></headers>
    <div class="user" @click="username()">
      账户绑定
    </div>
    <div class="out" @click="out()">
      退出登录
    </div>
  </div>

</template>

<script>
  import headers from '@/components/headers'

  export default {
    name: "setstings",
    components:{
      headers
    },
    methods:{
      username(){
        this.$router.push({name:'login'})
      }
    }
  }
</script>

<style scoped>
  .settings{
    background: #eee;
    text-align: left;
  }
  .settings > div{
    height: .6rem;
    line-height: .6rem;
    background: #fff;
    margin: .08rem 0;
    padding-left: .1rem;
  }
</style>
